package setting

import (
	"github.com/gin-gonic/gin"
	"time"
)

type JwtConfig interface {
	GetSignKey() string
	GetExpireTime() time.Duration
	GetToken(*gin.Context) string
	UnAuthorizedCode() int
	UnAuthorizedMessage(error) string
	UnAuthorizedHttpCode() int
}
